<?php

namespace app\aiv110\controller;

use think\Controller;
use think\Log;
use think\db;
use think\Request;

class CommonController extends Controller {

    const DEFAULTIMG_1 = 'default/user3-128x128.jpg';

    public function _initialize() {
        $request = Request::instance();
        $url = $request->url(true);
        $module = $request->module(); //模块名
        $controller = $request->controller(); //控制器名
        $action = $request->action(); //方法名
    }

    /*
     * 10000 超值组合  
     * 20000 秒杀   
     * 30000 订单 
     * 40000 特权卡
     * 50000 店铺
     * 60000 美容师
     * 70000 首页
     * 80000 小店
     * 90000 项目Item
     * 100000 Yimei
     * 110000 Bigbrand
     * 120000 Facecg
     * 130000 Experience
     * 140000 Metting
     * 150000 Yuyue
     */

    public function getModelData() {
        $app_production = config('appconfig.app_production');
        if ($app_production) {
            $model = 'kkmimg';
        } else {
            $model = 'testkkmimg';
        }
        return $model;
    }

}
